import Vue from 'vue'
import App from './App.vue'
import Axios from 'axios'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import store from './store'
import './assets/icons/icon.css'
import * as echarts from 'echarts'
Vue.use(ElementUI)

Vue.prototype.$axios = Axios
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
 //页面刷新前重设刷新状态
 window.onbeforeunload = function () {
  console.log('更改IsRefresh');
  sessionStorage.setItem("IsRefresh", false);
}
new Vue({
  router,
  store,
  echarts,
  render: h => h(App)
}).$mount('#app')
